<?php /* Smarty version 2.6.16, created on 2009-04-16 03:17:45
         compiled from public/account/messenger/index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'language', 'public/account/messenger/index.html', 12, false),array('function', 'module', 'public/account/messenger/index.html', 19, false),array('modifier', 'replace', 'public/account/messenger/index.html', 27, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "public/_header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<body style="margin:0px auto 0px auto; padding:0px;">
<div id="main-body"></div>
<div id="outer" style="width:300px; margin:0px auto 0px auto; padding:0px;">
<table class="border2" style="width: 100%;" cellpadding="4" cellspacing="0">
<tr>
	<td>
	<table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
	<tr>
		<td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
		<td class="block_header"><?php echo smarty_function_language(array('text' => 'Mod_Chat.instant_messenger'), $this);?>
</td>
	</tr>
	</table>
	<div id="check_messages" style="display:none;"></div>
	<table id="user_details">
	<tr>
		<td style="vertical-align:top;">
		<?php echo smarty_function_module(array('module' => 'Account','component' => 'Avatar','sUser' => $this->_tpl_vars['sUser'],'iSize' => 60,'class' => 'pic1','onmouseover' => "showInfo5('".($this->_tpl_vars['sUser'])."', '', '');this.className='pic2';",'onmouseout' => "this.className='pic1';return nd();"), $this);?>

		</td>
		<td style="vertical-align:top; font-size:9pt;">
			<a href="javascript:void(0);" style="cursor:pointer;" class="hidClass" onmouseover="showInfo5('<?php echo smarty_function_language(array('text' => 'Mod_Chat.change_your_status'), $this);?>
', '', '');" onmouseout="return nd();" onclick="document.getElementById('user_status').style.display='';"><?php echo $this->_tpl_vars['sUser']; ?>
 <?php if ($this->_tpl_vars['sCurrent']): ?>(<span id="live_status"><?php echo $this->_tpl_vars['sCurrent']; ?>
</span>)<?php else: ?><span id="live_status"></span><?php endif; ?></a>
			<div style="position:relative;">
			<div id="user_status" style="padding:5px; position:absolute; display:none;" class="border2 hidClass">
			<div class="border13" style="padding:5px;<?php if (! $this->_tpl_vars['sCurrent']): ?> width:110px;<?php endif; ?>">
				<?php $_from = $this->_tpl_vars['aOptions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['aVar']):
?>
				<div><a href="javascript:void(0);" style="cursor:pointer;" onclick="document.getElementById('user_status').style.display='none'; document.getElementById('live_status').innerHTML='<?php if ($this->_tpl_vars['sCurrent']):  echo $this->_tpl_vars['aVar']['name'];  else: ?>(<?php echo $this->_tpl_vars['aVar']['name']; ?>
)<?php endif; ?>'; xajax_changeImStatus('<?php echo $this->_tpl_vars['aVar']['key']; ?>
');"><span id="status<?php echo $this->_tpl_vars['aVar']['key']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['aVar']['name'])) ? $this->_run_mod_handler('replace', true, $_tmp, ' ', "&nbsp;") : smarty_modifier_replace($_tmp, ' ', "&nbsp;")); ?>
</span></a></div>
				<?php endforeach; endif; unset($_from); ?>
			</div>
			</div>
			</div>
		</td>
	</tr>
	</table>

	<div style="font-size:8pt;">
		[ <a href="javascript:void(0);" style="cursor:pointer;" class="hidClass" onclick="sId('user_setting').style.display='';"><?php echo smarty_function_language(array('text' => 'Mod_Account.settings'), $this);?>
</a> ] <span id="settings_saved" style="display:none; background:#73C350; color:#fff;"><?php echo smarty_function_language(array('text' => 'Mod_Account.saved'), $this);?>
</span>
		<div style="position:relative;">
		<div id="user_setting" style="padding:5px; position:absolute; display:none;" class="border2 hidClass">
			<?php echo smarty_function_language(array('text' => 'Mod_Account.chat_new_event'), $this);?>
:
			<div style="padding:5px;">
				<label><input type="radio" name="msg_event" onclick="sId('user_setting').style.display='none'; xajax_saveUserSetting(0);" style="vertical-align:middle; border:0px;"<?php if (! $this->_tpl_vars['bImSetting']): ?>checked<?php endif; ?> /> <?php echo smarty_function_language(array('text' => 'Mod_Account.play_a_beep'), $this);?>
</label> <br />
				<!-- <label><input type="radio" name="msg_event" onclick="sId('user_setting').style.display='none'; xajax_saveUserSetting(1);" style="vertical-align:middle; border:0px;"<?php if ($this->_tpl_vars['bImSetting'] == '1'): ?>checked<?php endif; ?> /> focus window</label> <br /> -->
				<label><input type="radio" name="msg_event" onclick="sId('user_setting').style.display='none'; xajax_saveUserSetting(2);" style="vertical-align:middle; border:0px;"<?php if ($this->_tpl_vars['bImSetting'] == '2'): ?>checked<?php endif; ?> /> <?php echo smarty_function_language(array('text' => 'Mod_Account.do_nothing'), $this);?>
</label> <br />
			</div>
		</div>
		</div>
	</div>

	</td>
</tr>
<tr>
	<td>

	<table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
	<tr>
		<td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
		<td class="block_header"><?php echo smarty_function_language(array('text' => 'Mod_Chat.friends_online'), $this);?>
</td>
	</tr>
	</table>

	<div style="padding:5px;">

	<table style="padding-bottom:4px;">
	<tr>
		<td style="vertical-align:middle;"><?php echo smarty_function_language(array('text' => 'Mod_Chat.user_name'), $this);?>
:</td>
		<?php echo '
		<td style="vertical-align:middle;"><input type="text" name="username" value="" size="20" style="width:140px;" onkeyup="xajax_searchFriends(this.value, \'search_box\');" autocomplete="off" />
		'; ?>

		<div style="position:relative;">
			<div id="search_box" style="position:absolute; display:none; width:140px;" class="border2 hidClass">
			</div>
		</div>
		</td>
	</tr>
	</table>

	<div class="border2" style="height:400px; overflow:auto; width:98%;">
		<div id="whos_online"></div>
	</div>
	</div>

	</td>
</tr>
</table>

<br />
<input type="hidden" name="page_num" id="page_num" value="0" />
<script type="text/javascript">xajax_updateUsersOnline();</script>
<script type="text/javascript">xajax_getUsersOnline(document.getElementById('page_num').value);</script>
<script type="text/javascript">xajax_checkMessages();</script>
</div>
<div id="div_sound"></div>
<div id="ajax_temp_content" style="display:none;"></div>
</body>
</html>